#include #include #include #include using namespace std; void main() { //intrinsic short s; //2 bytes int i; //4 bytes long l; //4 bytes long long ll; // 8 bytes unsigned int ui = -1; //4 bytes float f; //4 bytes double d; //8 bytes long double ld; // 16 bytes bool b; //1 byte char c; //1 byte //cout << ui << endl; //cout << string::npos << endl; // ////complex data type //string str; //ostream& say = cout; //say << "stuff" << endl; ofstream fout; fout.open("example.txt"); fout << "This is the day the Lord has made"; for(int i = 0; i < 234;i++) { fout << i << endl; } //do not do this //while(true) //{ // fout << "asdf"; //} fout.close(); }